Skip to content

DYN-8957 refactor: rename test to match its actual assertion#17171

Closed
jasonstratton wants to merge 1 commit into
DynamoDS:8957-pm-no-network-tooltipsfrom
jasonstratton:8957-rename-no-network-test
Closed

DYN-8957 refactor: rename test to match its actual assertion#17171
jasonstratton wants to merge 1 commit into
DynamoDS:8957-pm-no-network-tooltipsfrom
jasonstratton:8957-rename-no-network-test

Conversation

@jasonstratton

Copy link
Copy Markdown
Contributor

Summary

  • WhenNoNetworkModeThenWorkspaceReferencesInstallButtonIsDisabled implies a UI-level assertion on Button.IsEnabled, but the test only verifies that DependencyView.NoNetworkMode is propagated from StartupParams.
  • Rename to WhenNoNetworkModeThenDependencyViewNoNetworkModeIsTrue so the test name accurately describes what it asserts.
  • Updated the comment to note that the UI-level assertion belongs in AGT tests (per Neal Burnham's Jira comment).

Test plan

  • Renamed test WhenNoNetworkModeThenDependencyViewNoNetworkModeIsTrue passes

🤖 Generated with Claude Code

WhenNoNetworkModeThenWorkspaceReferencesInstallButtonIsDisabled implied
a UI-level assertion on Button.IsEnabled, but the test only verified
that the NoNetworkMode property propagates from StartupParams into the
DependencyView. Rename to WhenNoNetworkModeThenDependencyViewNoNetworkModeIsTrue
to keep the suite self-describing. The UI-level assertion belongs in
AGT tests.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-8957

@sonarqubecloud

Copy link
Copy Markdown

@jasonstratton

Copy link
Copy Markdown
Contributor Author

Changes applied directly to PR #17149 instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant